package cn.dengta.webapp.trade.dao;

import cn.dengta.webapp.base.dao.BaseDao;
import cn.dengta.webapp.trade.entity.IntegralExchangeCoinConfig;
import org.apache.ibatis.annotations.Update;

/**
 * 积分兑换钻石配置 Mapper 接口
 *
 * @author hsj
 * @since 2024-02-23
 */
public interface IntegralExchangeCoinConfigDao extends BaseDao<IntegralExchangeCoinConfig> {


	@Update("update dt_integral_exchange_coin_config set exchange_count = exchange_count + 1 where id = #{id}")
	int incCount(Long id);
}
